package com.zbkj.front.controller.user;


import com.zbkj.common.result.CommonResult;
import com.zbkj.service.service.impl.TestServiceImpl;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 测试控制器
 * +----------------------------------------------------------------------
 */
@Slf4j
@RestController
@RequestMapping("api/front/test")
@Api(tags = "测试控制器")
public class TestController {

    @Autowired
    private TestServiceImpl testService;

    @ApiOperation(value = "用户下单分佣测试")
    @RequestMapping(value = "/brokerage", method = RequestMethod.GET)
    public CommonResult<Object> brokerageTest() {
        return CommonResult.success(testService.brokerageTest());
    }
}



